package com.foreveross.fetl.application.impl;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.foreveross.fetl.application.ICsairReportApplication;
import com.foreveross.fetl.common.application.BaseApplicationImpl;
import com.foreveross.fetl.core.domain.freight.CsairReport;

@Transactional
@Service("csairReportApplication")
public class CsairReportApplicationImpl extends BaseApplicationImpl implements
		ICsairReportApplication {

	@Override
	public int createReport(List<String> airCompanys,List<String> chanels, String formCity,
			String toCity, Date reportDate, Date flightDate,int webType,int flightType) {
			CsairReport casair =new CsairReport();
			return casair.createReport(airCompanys,chanels, formCity, toCity, reportDate, flightDate, webType, flightType);
	}

	@Override
	public int createDouble(List<String> chanels, String formCity,
			String toCity, Date reportDate, Date flightDate,int webType) {
			CsairReport casair =new CsairReport();
			return casair.createDouble(chanels, formCity, toCity, reportDate, flightDate,webType);

	}

}
